API Documentation
Static Public Member Functions | List of all members
nkGraphics::IndexFormatUtils Class Referencefinal

Provides utility functions around the INDEX_FORMAT enum. More...

Static Public Member Functions

static unsigned int getFormatByteSize (INDEX_FORMAT format)
 

Detailed Description

Provides utility functions around the INDEX_FORMAT enum.

Member Function Documentation

◆ getFormatByteSize()

static unsigned int nkGraphics::IndexFormatUtils::getFormatByteSize ( INDEX_FORMAT  format)
static
Parameters
formatThe format to get the size of.
Returns
The byte size of given format.

The documentation for this class was generated from the following file: